<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('AdminIndex/index')}">会议列表</a></li>
        <li><a href="{:url('AdminIndex/add')}">添加会议</a></li>
        <li class="active"><a href="">会议投稿</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('AdminTougao/index')}">
        投稿标题:
        <input type="text" class="form-control" name="name" style="width: 120px;" value="{:input('request.name','')}" placeholder="请输入名称">
        投稿时间:
        <input type="text" class="form-control js-bootstrap-datetime" name="start_time"
               value="{$start_time|default=''}"
               style="width: 140px;" autocomplete="off">-
        <input type="text" class="form-control js-bootstrap-datetime" name="end_time"
               value="{$end_time|default=''}"
               style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;
        <input type="submit" class="btn btn-primary" value="搜索" />
        <a class="btn btn-danger" href="{:url('AdminTougao/index')}">清空</a>
    </form>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th width="50">ID</th>
            <th>投稿标题</th>
            <th>投稿时间</th>
            <th>投稿人</th>
            <th>附件</th>
            <th width="200">{:lang('ACTIONS')}</th>
        </tr>
        </thead>
        <tbody>

        <foreach name="list" item="vo">
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.title}</td>
                <td>
                    {$vo.create_time|date='Y-m-d',###}
                </td>
                <td>
                    {$vo.user_nickname|default=""}
                </td>
                <td>
                    <a href='{:url("adminIndex/detail",array("id"=>$vo["id"]))}'>查看详情</a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>